package com.xing.asm.simple2;

public class Foo2 {

    public User2 excute(String name, int id)
    {
        AdiceApi adiceApi = null;
        try {
            adiceApi = Api.createAdviceApi();
            adiceApi.doBefore(new Object[]{name, id});
        } catch (Throwable throwable) {

        }


        User2 user = new User2();
        user.id = id;
        user.name = name;

        try {
            adiceApi.doAfter();
        } catch (Throwable throwable) {
        }

        return user;
    }


}
